﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XiaLastorm.Sharpshooter.Server
{
	/// <summary>
	/// 客户端事件的数据
	/// </summary>
	public class ClientEventArgs : EventArgs
	{
		/// <summary>
		/// 相应的客户端管理器
		/// </summary>
		public ClientManager ClientManager { get; protected set;}
		/// <summary>
		/// 生成 <see cref="ClientEventArgs"/> class 的新实例。
		/// </summary>
		/// <param name="clientManager">相应的客户端管理器</param>
		public ClientEventArgs(ClientManager clientManager)
		{
			if (clientManager == null)
				throw new ArgumentNullException("clientManager");
			ClientManager = clientManager;
		}
	}
}
